ComponentOne Bitmap for UWP
CopyPixels<T>(RectL,T[]) Method

C1.UWP.DX Assembly > C1.Util.DX.WIC Namespace > BitmapSource Class > CopyPixels Method : CopyPixels<T>(RectL,T[]) Method
The rectangle to copy.
The destination array. The size of the array must be sizeof(pixel) * rectangle.Width * rectangle.Height

Instructs the object to produce pixels.

Syntax
'Declaration
 
Public Overloads Sub CopyPixels(Of T As {New, Struct})( _
   ByVal rectangle As RectL, _
   ByVal output() As T _
) 
public void CopyPixels<T>( 
   RectL rectangle,
   T[] output
)
where T: new(), struct

Parameters

rectangle
The rectangle to copy.
output
The destination array. The size of the array must be sizeof(pixel) * rectangle.Width * rectangle.Height

Type Parameters

T
See Also

Reference

BitmapSource Class
BitmapSource Members
Overload List